<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('user/index')}">代理商列表</a></li>
			<li><a href="{:url('user/add')}">代理商添加</a></li>
			<li class="active"><a href="{:url('user/buydekey')}">激活码购买</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('user/addBuykey')}">
			<input type="hidden" name="id" value="{$user.id}" />
			<div class="form-group">
				<label for="real_name" class="col-sm-2 control-label"><span class="form-required">*</span>真实姓名</label>
				<div class="col-md-6 col-sm-10">
					{$user.real_name}
				</div>
			</div>
			<div class="form-group">
				<label for="mobile" class="col-sm-2 control-label"><span class="form-required">*</span>手机号</label>
				<div class="col-md-6 col-sm-10">
					{$user.mobile}
				</div>
			</div>
			<div class="form-group">
				<label for="money" class="col-sm-2 control-label"><span class="form-required">*</span>数量</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="number" name="number" required>
				</div>
			</div>
			<div class="form-group">
				<label for="money" class="col-sm-2 control-label"><span class="form-required">*</span>金额￥</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="money" name="money" required>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>